POV-Ray : Newsgroups : povray.general : unexpected rotation result : Re: unexpected rotation result Server Time
8 Aug 2024 08:11:33 EDT (-0400)
  Re: unexpected rotation result  
From: Tom Melly
Date: 5 Feb 2001 05:45:28
Message: <3a7e8448$1@news.povray.org>
"Gail Shaw" <gsh### [at] monotixcoza> wrote in message
news:3a7e8216@news.povray.org...
>
> > rotate y * - 45 + 45
> > rotate y * (- 45 + 45)
> >
>
> I would guess that pov is doing the multiplication first then adding
> 45.  Hence it's doing rotate <0,-45,0> + 45.
> whereas the brackets in the second force pov
> to evaluate the -45+45 first and multiply with y second.
>

Ah, it would appear that my problem here was based on a more serious
underlying misunderstanding. I've always specified single-axis rotations as,
for example, rotate x * 45. I thought that this just meant rotate x 45
degrees. So what does rotate x*45 mean? 45 times what?


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.